package org.ediba.siri.core.common.data;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;
import java.util.Map;

import org.ediba.siri.core.Filter;
import org.springframework.jdbc.core.support.JdbcDaoSupport;

public class JDBCDomainDao<T, K extends Serializable>
			extends JdbcDaoSupport
			implements DomainDao<T, K> {

	@Override
	public void persist(T transientInstance) {}

	@Override
	public void attachDirty(T instance) {}

	@Override
	public void attachClean(T instance) {}

	@Override
	public void delete(T persistentInstance) {	}
	
	@Override
	public boolean delete(int id) {return false;}

	@Override
	public T merge(T detachedInstance) {return null;}

	@Override
	public T findById(K id) {return null;}

	@Override
	public List<T> findByExample(T instance, String sort, boolean dir) {return null;}

	@Override
	public List<T> findByExample(T instance, String sort, boolean dir, Integer start, Integer limit) {return null;}
	
	@Override
	public List<T> findByFilters(Map<Filter, Collection<Object>> filters, String sort, boolean dir) {return null;}

	@Override
	public List<T> findByFilters(Map<Filter, Collection<Object>> filters, String sort, boolean dir, Integer start, Integer limit) {return null;}

	@Override
	public List<T> findByFilters(Collection<Map<Filter, Object>> filters, String sort, boolean dir) {return null;}

	@Override
	public List<T> findByFilters(Collection<Map<Filter, Object>> filters, String sort, boolean dir, Integer start, Integer limit) {return null;}
	
	@Override
	public List<T> getAll(String sort, boolean dir) {return null;}

	@Override
	public List<T> getAll(String sort, boolean dir, Integer start, Integer limit) {return null;}

	@Override
	public int findByExampleCount(T instance) {return 0;}

	@Override
	public int findByFiltersCount(Map<Filter, Collection<Object>> filters) {return 0;}

	@Override
	public int findByFiltersCount(Collection<Map<Filter, Object>> filters) {return 0;}

	@Override
	public int getAllCount() {return 0;}
	
}
